/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const componentsRouter = {
  path: '/userManage',
  component: Layout,
  redirect: 'noRedirect',
  alwaysShow: true,
  name: 'ComponentDemo',
  meta: {
    title: '用户管理',
    icon: 'component'
  },
  children: [
    {
      path: 'userList',
      component: () => import('@/views/userManage/userList'),
      name: 'userList',
      meta: { title: '用户列表' }
    },
    {
      path: 'userPayCount',
      component: () => import('@/views/userManage/userPayCount'),
      name: 'userPayCount',
      meta: { title: '用户支付记录' }
    },

  ]
}

export default componentsRouter
